package com.tunan.system.dic.error.sub;

import com.exception.SubError;



public class DeleteLockedItemSubError extends SubError {

    private static final String ISV = "isv.";

    private static final String SERVICE_ERROR = "delete-locked-item:";

    public DeleteLockedItemSubError(String typeCode, String typeName, String itemCode, String itemName) {
    	this.code = ISV + SERVICE_ERROR + itemCode;
    	this.message = "所属字典类型（编号：" + typeCode + "，名称：" + typeName + "）的字典子项（编号：" + itemCode + "，名称：" + itemName + "）处于锁定状态，不能执行删除操作！";
    }
}

